//
//  YDWeekNewsModel.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2018/1/23.
//  Copyright © 2018年 LK-IOS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YDWeekNewsModel : NSObject

/*
 
 id : 5a6545a0fa4052146844f2c8,
 type : 2,
 title : 聚焦基金四季报：国家队基金前十大重仓股大“换血”,
 createTime : 2018-01-22 08:59:57,
 source : 财联社,
 format : 1,
 coverUrl : http://image.cailianpress.com/admin/20180122/085805t0eGexD7UfIv.jpg,
 status : 1,
 content
 
 */
@property (nonatomic, copy)NSString *Id;
@property (nonatomic, copy)NSString *title;
@property (nonatomic, copy)NSString *coverUrl;
@property (nonatomic, copy)NSString *createTime;
@property (nonatomic, copy)NSString *content;
@property (nonatomic, copy)NSNumber *type;
@property (nonatomic, copy)NSNumber *status;

@property (nonatomic , copy) NSString *formateTime;
@property (nonatomic , copy) NSAttributedString *attrTitle;
@property (nonatomic, assign, readonly) CGFloat titleDefaultH;

/**
 *  背景位置
 */
@property (nonatomic, assign, readonly) CGRect backFrame;

/**
 *  图片位置
 */
@property (nonatomic, assign, readonly) CGRect imageFrame;

/**
 *  标题位置
 */
@property (nonatomic, assign, readonly) CGRect titleFrame;

/**
 *  时间位置
 */
@property (nonatomic, assign, readonly) CGRect timeFrame;

/**
 *  cell高度
 */
@property (nonatomic, assign, readonly) CGFloat cellH;



@end
